package com.zhx.common.common.event;

import com.zhx.common.user.domain.entity.User;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;


@Getter
public class UserBlackEvent extends ApplicationEvent {
    private User user;

    /**
     * 拉黑用户事件
     *
     * @param source 事件源
     */
    public UserBlackEvent(Object source,User user) {
        super(source);
        this.user = user;
    }
}
